package com.xuzhen.interceptor.one;

import java.lang.reflect.Proxy;

public class ProxyObject {
	private InterceptorHandler handle=new InterceptorHandler();
	
	public Object getProxy(Object object){
		handle.setObject(object);
		return Proxy.newProxyInstance(ExecuteFunction.class.getClassLoader(),object.getClass().getInterfaces(),handle);
	}
}
